package com.qf.j2112.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 订单对象 sys_order
 * @author j2112
 * @date 2022-04-12
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysOrder implements Serializable {


    /** 订单id */
    private Integer orderId;

    /** 订单所属用户id */
    private Integer orderUserId;

    /** 订单名称，描述 */
    private String orderName;

    /** 订单实际支付价格 */
    private Integer orderPaidmoney;

    /** 订单联系方式id */
    private Integer orderContactId;

    /** 订单所选驿站id */
    private Integer orderYiZhanId;

    /** 顾客留言 */
    private String orderMessage;

    /** 订单创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date orderCreatetime;

    /** 订单获得的积分 */
    private Integer orderJifen;

    /** 订单状态id */
    private Integer orderOrderstatusId;

//--------------------------------------------------------------------------
    /** 订单状态实体 */
    private SysOrderStatus orderStatus;

    /** 订单详情实体 */
    private List<SysOrderitem> orderitems;
}
